<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title value=''>作者列表</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />

    <style>
        .back1 {
            width: 23px !important;
            height: 23px !important;

        }
    </style>
</head>

<body>
    <header class="aui-bar aui-bar-nav" id="aui-header" style="background-color:#fff;color:#000;">
        <div class="aui-pull-left" onclick="closeWin1()" style="font-size:13px;">
            <img src="../../image/VIP/jinatoublack.png" class="back1" alt="">&nbsp;返回
        </div>
        <div class="aui-pull-right" onclick="OpenHotSearchWin()">
            <img src="../../image/VIP/32.png" alt="" style="width:14px;padding-top:17px;">
        </div>
    </header>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/faskclick.js"></script>
<script type="text/javascript">
var playvideoadstate;
apiready = function() {
  var header = $api.byId('aui-header');
  $api.fixStatusBar(header);
  var headerPos = $api.offset(header);
  if ('addEventListener' in document) {
      document.addEventListener('DOMContentLoaded', function() {
          FastClick.attach(document.body);
      }, false);
  }
  api.openFrame({
      name: 'author_frm',
      url: 'author_frm.html',
      bounces: false,
      rect: {
          x: 0,
          y: headerPos.h,
          w: 'auto',
          h: api.winHeight - headerPos.h
      },
      pageParam:{
        authorname:api.pageParam.authorname,
        authorid:api.pageParam.authorid,
        videoid:api.pageParam.videoid,
      },
      reload:true,
      animation:{
          type:"none",                //动画类型（详见动画类型常量）
          subType:"from_right",       //动画子类型（详见动画子类型常量）
          duration:300                //动画过渡时间，默认300毫秒
      },
  })
playvideoadstate = api.pageParam.value;
if (api.pageParam.value==1) {
  api.addEventListener({
      name: 'keyback'
  }, function(ret, err) {
    api.sendEvent({
        name: 'playvideoad'
    });
    setTimeout(function() {
      api.closeWin();
    }, 1000)
  });
}else {
  api.addEventListener({
      name: 'keyback'
  }, function(ret, err) {
    api.sendEvent({
        name: 'bofang'
    });
    setTimeout(function() {
      api.closeWin();
    }, 1000)
  });
}
};

function closeWin1() {
  if (playvideoadstate==1) {
      api.sendEvent({
          name: 'playvideoad'
      });
      setTimeout(function() {
        api.closeWin();
      }, 1000)
  }else {
      api.sendEvent({
          name: 'bofang'
      });
      setTimeout(function() {
        api.closeWin();
      }, 1000)
  }
}
    function OpenHotSearchWin() {
      api.openWin({
          name: 'hot_win',
          url: '../few/hot_win.html',
      });
      // apicmmon.openwin('hot_win', '../few/hot_win.html')
    }
</script>

</html>
